package yl.hs.bmipfull.pojo.vehiclemanage;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;

/**
 * @author 韩纪旺
 * @apiNote 储油罐表实体类
 * @since 2022年09月14日 09时07分51秒
 */
@DBTable(disName = "储油罐表", mapCode = "storage_tank")
public class StorageTankEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 油罐编号
     */
    @DBField(disName = "储油罐表编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "CYXX")
    private String sn;
    /**
     * 油罐名称
     */
    @DBField(disName = "油罐名称",mapCode="tankNoName")
    private String tankNoName;
    /**
     * 油罐型号
     */
    @DBField(disName = "油罐型号",mapCode="oilType")
    private String oilType;
    /**
     * 油罐余量
     */
    @DBField(disName = "油罐余量",mapCode="oilTankAllowance")
    private BigDecimal oilTankAllowance;
    /**
     * 油罐存储最大量
     */
    @DBField(disName = "油罐存储最大量",mapCode="maximumCapacity")
    private BigDecimal maximumCapacity;
    /**
     * 油罐存储最小量
     */
    @DBField(disName = "油罐存储最小量",mapCode="minimumCapacity")
    private BigDecimal minimumCapacity;
    /**
     * 最小报警容量
     */
    @DBField(disName = "最小报警容量",mapCode="alertQuantity")
    private BigDecimal alertQuantity;
    /**
     * 油罐操作记录
     */
    @DBField(disName = "油罐操作记录",mapCode="oilTankRecord")
    private String oilTankRecord;
    /**
     * 操作员
     */
    @DBField(disName = "操作员",mapCode="handlerName")
    private String handlerName;
    /**
     * 备注
     */
    @DBField(disName = "备注",mapCode="remark")
    private String remark;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return this.id;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getSn() {
        return this.sn;
    }

    public void setTankNoName(String tankNoName) {
        this.tankNoName = tankNoName;
    }

    public String getTankNoName() {
        return this.tankNoName;
    }

    public void setOilType(String oilType) {
        this.oilType = oilType;
    }

    public String getOilType() {
        return this.oilType;
    }

    public void setOilTankAllowance(BigDecimal oilTankAllowance) {
        this.oilTankAllowance = oilTankAllowance;
    }

    public BigDecimal getOilTankAllowance() {
        return this.oilTankAllowance;
    }

    public void setMaximumCapacity(BigDecimal maximumCapacity) {
        this.maximumCapacity = maximumCapacity;
    }

    public BigDecimal getMaximumCapacity() {
        return this.maximumCapacity;
    }

    public void setMinimumCapacity(BigDecimal minimumCapacity) {
        this.minimumCapacity = minimumCapacity;
    }

    public BigDecimal getMinimumCapacity() {
        return this.minimumCapacity;
    }

    public void setAlertQuantity(BigDecimal alertQuantity) {
        this.alertQuantity = alertQuantity;
    }

    public BigDecimal getAlertQuantity() {
        return this.alertQuantity;
    }

    public void setOilTankRecord(String oilTankRecord) {
        this.oilTankRecord = oilTankRecord;
    }

    public String getOilTankRecord() {
        return this.oilTankRecord;
    }

    public void setHandlerName(String handlerName) {
        this.handlerName = handlerName;
    }

    public String getHandlerName() {
        return this.handlerName;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return this.remark;
    }

}